package org.example.diet_compass.service;

import org.example.diet_compass.domain.OrderItems;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.diet_compass.resp.Result;

import java.util.List;
import java.util.Map;

/**
* @author 86135
* @description 针对表【order_items(存储订单与商品之间关系的中间表，记录每个订单中包含哪些商品及数量)】的数据库操作Service
* @createDate 2025-03-16 11:01:05
*/
public interface OrderItemsService extends IService<OrderItems> {


    List<Map<String,Object>> getGoodIdsAndCountByOrderId(Integer orderId);
}
